package com.ponhu.ea2.goodsCenter.provider.service;

import com.ponhu.ea2.entity.PhCategory;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ponhu.ea2.vo.PhCategoryVo;

import java.util.List;

/**
 * <p>
 * 商品类目表  服务类
 * </p>
 *
 * @author ${author}
 * @since 2021-10-14
 */
public interface PhCategoryService extends IService<PhCategory> {

    /**
     * 获取指定分级和父级类目ID的全部类目集合
     * @param level
     * @param parentIds
     * @return
     */
    List<PhCategory> getPhCategorysByLevel(Integer level, Long parentIds, Boolean isAll);

}
